package com.itzjc.domain.pojo;

import java.io.Serializable;

/**
 * 专门为传感器的对应值设置的POJO,由于不是最后输出，所以作为pojo
 *
 * @className: PraphData
 * @date: 2021-09-21 17:15
 **/
public class PraphData implements Serializable {
    private String time;
    private Double value;

    //有参、空参、set/get、toString


    @Override
    public String toString() {
        return "PraphData{" +
                "time='" + time + '\'' +
                ", value=" + value +
                '}';
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

    public PraphData(String time, Double value) {
        this.time = time;
        this.value = value;
    }

    public PraphData() {
    }
}
